<?xml version="1.0" encoding="UTF-8"?>

<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:t="http://myfaces.apache.org/tomahawk">
    
    <ui:composition template="/pages/user/templates/userAdminTemplate.xhtml">
        <ui:define name="pageTitle">
            <h:outputText value="Confirm Delete"/>
        </ui:define>    
    
        <ui:define name="centerPane">
                
                <h:outputFormat value="Do you want to delete user {0}?">
                    <f:param value="#{deleteUserAction.user.username}"/>
                </h:outputFormat>
                <br/>
                
                <h:form>
                    <h:commandButton value="OK" action="#{deleteUserAction.confirmDelete}">
                        <t:inputHidden id="userId" forceId="true" value="#{deleteUserAction.userId}"/>
                    </h:commandButton>
                    <h:commandButton value="Cancel" action="gotoViewUsers"/>
                </h:form>
        </ui:define>
    </ui:composition>
    
</html>
